﻿function includeJS(jsPath) 
{
    var script = document.createElement("script");
    script.setAttribute("type", "text/javascript");
    script.setAttribute("src", jsPath);
    document.getElementsByTagName("head")[0].appendChild(script);
}

// Silverlight
includeJS("./js/silverlight.js");

// Helix
includeJS("./js/helix.core.js");
includeJS("./js/helix.onerror.js");
includeJS("./js/helix.navigator.js");